package com.quarters.service;

import com.quarters.bean.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.quarters.bean.Role;
import com.quarters.bean.ztree.ZtreeBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 冯政尚
 * @since 2019-09-02
 */
public interface MenuService extends IService<Menu> {

    List<Menu> findMenuByRole(Role role);

    List<ZtreeBean> findMenuZtree(Long id);
    List<ZtreeBean> findMenu();

}
